package com.ruoyi.tws.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.tws.api.domain.Driver;
import org.apache.ibatis.annotations.Param;

/**
 * 司机信息Mapper接口
 *
 * @author ruoyi
 * @date 2022-01-20
 */
public interface DriverMapper extends BaseMapper<Driver> {

    /**
     * 查询常用司机列表（tws_company_driver物流公司-司机关系表）
     * @param driver
     * @return
     */
    IPage<Driver> driverList(IPage<Driver> page, @Param("driver") Driver driver, @Param("delFlag") int delFlag);

}
